package com.ccnf.model.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ccnf.model.entity.InvitationReward;
import com.ccnf.model.pojo.InvitationRewardVo;

import java.util.Date;
import java.util.List;

public interface InvitationRewardMapper extends BaseMapper<InvitationReward> {

    /**
     * 查询开启赏金邀约邀请函，邀请函赏金，统计数据
     * @param reportTime
     * @return
     */
    List<InvitationRewardVo> selectEveryDayRewardInvitation(long reportTime);

    List<InvitationReward> selectRealReward(Date date);
}